package com.aaa.config;

import com.aaa.rule.MyRandomRule;
import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyRuleConfiguration {
    @Bean
    public IRule setRule(){
        return new MyRandomRule();
    }
}
